package com.qf.entity;

import java.util.List;

public class ChongZhi {
    /*
        信用卡余额
     */
    private Double amount;
    /*
        账户列表
    */
    private List<Card2> card2List;

    public ChongZhi() {
    }

    public ChongZhi(Double amount, List<Card2> card2List) {
        this.amount = amount;
        this.card2List = card2List;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public List<Card2> getCard2List() {
        return card2List;
    }

    public void setCard2List(List<Card2> card2List) {
        this.card2List = card2List;
    }

    @Override
    public String toString() {
        return "ChongZhi{" +
                "amount=" + amount +
                ", card2List=" + card2List +
                '}';
    }
}
